Skip to main content

All Questions

24votes
12answers
4kviews

Are long functions acceptable if they have internal structure?

When dealing with complicated algorithms in languages with support for nested functions (such as Python and D) I often write huge functions (because the algorithm is complicated) but mitigate this by ...
dsimcha's user avatar
  • 17.3k

close